package org.mzy.org.service.impl;

import org.mzy.basic.service.impl.BaseServiceImpl;
import org.mzy.org.domain.SystemDictionaryDetail;
import org.mzy.org.mapper.SystemDictionaryDetailMapper;
import org.mzy.org.service.ISystemDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Package: org.mzy.org.service.impl
 * @ClassName: SystemDictionaryDetailImpl
 * @Date:2022/10/13 9:06
 * @Description:
 */
@Service
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class SystemDictionaryDetailImpl extends BaseServiceImpl<SystemDictionaryDetail> implements ISystemDictionaryDetailService {
    @Autowired
    private SystemDictionaryDetailMapper systemDictionaryDetailMapper;

    @Override
    public void deleteByName(String name) {
        systemDictionaryDetailMapper.deleteByName(name);
    }
}
